<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="1280*720; text/html; charset=utf-8" />
<script>
function init() {
	//alert(2);

	try {
		//alert(abc.getName());
		//alert(abc.getAge());
		var div1 = document.getElementById("div1");
		div1.innerHTML = abc.getName();
	} catch (err) {
		//alert("error");
		div1.innerHTML = "error";
	}

	//alert(1);
}
</script>
<title>无标题文档</title>
</head>

<body onload="init()">
	
<div id="div1" style="position:absolute;font-size:22px;">Hello World!!</div>

</body>
</html>
